package monsmon.term;

import java.awt.Color;


/*
 * Terminal character
 *
 */
public class Tchar{
	char c = ' ';
	Color fg = Color.WHITE;
	Color bg = Color.BLACK;
	boolean blink = false;
	char altc = ' ';
	Color altfg = Color.WHITE;
	
	/* Default Constructor */
	public Tchar(){}

	/* Copy constructor */
	public Tchar(Tchar tc){
		cp(tc, this);
	}

	public static void cp(Tchar from, Tchar to){
		to.c = from.c;
		to.fg = from.fg;
		to.bg = from.bg;
		to.blink = from.blink;
		to.altc = from.altc;
		to.altfg = from.altfg;
	
	}
}
